package com.yuexunit.finance.project.action.v1.model.output;

import java.math.BigDecimal;
import java.util.Date;

import com.yuexunit.web.annotation.Parameter;

/**
*@version 创建时间：2017年8月3日 上午9:26:41
*@author wenwenlong
*类说明
*/

public class PickupBulkstockWarehouseDetail {
	@Parameter(name = "pickupBulkstockId", description = "提货货物ID")
	private Long pickupBulkstockId;
	
	@Parameter(name = "pickupId", description = "提货ID")
	private Long pickupId;
	
	@Parameter(name = "financeId", description = "融资ID")
	private Long financeId;
	
	@Parameter(name = "financeNumber", description = "融资编号")
	private String financeNumber;
	
	@Parameter(name = "applicationDate", description = "申请时间")
	private Date applicationDate;
	
	@Parameter(name = "financeApplicationDate", description = "融资申请时间")
	private Date financeApplicationDate;
	
	@Parameter(name = "productType", description = "业务类型")
	private Integer productType;
	
	@Parameter(name = "inventoryId", description = "货箱ID")
	private Long inventoryId;
	
	@Parameter(name = "bulkstockName", description = "货物")
	private String bulkstockName;
	
	@Parameter(name = "specifician", description = "规格型号")
	private String specifician;
	
	@Parameter(name = "warehouseName", description = "仓库")
	private String warehouseName;
	
	@Parameter(name = "warehouseId", description = "仓库ID")
	private String warehouseId;
	
	@Parameter(name = "inboundNumber", description = "入库单号")
	private String inboundNumber;
	
	@Parameter(name = "locationArea", description = "库区")
	private String locationArea;
	
	@Parameter(name = "locationName", description = "库位")
	private String locationName;
	
	@Parameter(name = "supervisionQuantity", description = "监管数量")
	private BigDecimal supervisionQuantity;
	
	@Parameter(name = "pickupQuantity", description = "提货数量")
	private BigDecimal pickupQuantity;
	
	@Parameter(name = "pickupAmount", description = "提货金额")
	private BigDecimal pickupAmount;
	
	@Parameter(name = "bulkstockAmount", description = "本金")
	private BigDecimal bulkstockAmount;
	
	@Parameter(name = "interest", description = "服务费")
	private BigDecimal interest;
	
	@Parameter(name = "others", description = "其他费用")
	private BigDecimal others;
	
	@Parameter(name = "locationId", description = "库位ID")
	private String locationId;
	
	@Parameter(name = "bulkstockInfoId", description = "货物ID")
	private Long bulkstockInfoId;

	public String getWarehouseId() {
		return warehouseId;
	}

	public void setWarehouseId(String warehouseId) {
		this.warehouseId = warehouseId;
	}

	public BigDecimal getOthers() {
		return others;
	}

	public void setOthers(BigDecimal others) {
		this.others = others;
	}

	public String getSpecifician() {
		return specifician;
	}

	public void setSpecifician(String specifician) {
		this.specifician = specifician;
	}

	public Date getFinanceApplicationDate() {
		return financeApplicationDate;
	}

	public void setFinanceApplicationDate(Date financeApplicationDate) {
		this.financeApplicationDate = financeApplicationDate;
	}

	public Long getBulkstockInfoId() {
		return bulkstockInfoId;
	}

	public void setBulkstockInfoId(Long bulkstockInfoId) {
		this.bulkstockInfoId = bulkstockInfoId;
	}

	public String getLocationId() {
		return locationId;
	}

	public void setLocationId(String locationId) {
		this.locationId = locationId;
	}

	public Long getPickupBulkstockId() {
		return pickupBulkstockId;
	}

	public void setPickupBulkstockId(Long pickupBulkstockId) {
		this.pickupBulkstockId = pickupBulkstockId;
	}

	public Long getPickupId() {
		return pickupId;
	}

	public void setPickupId(Long pickupId) {
		this.pickupId = pickupId;
	}

	public Long getFinanceId() {
		return financeId;
	}

	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}

	public String getFinanceNumber() {
		return financeNumber;
	}

	public void setFinanceNumber(String financeNumber) {
		this.financeNumber = financeNumber;
	}

	public Date getApplicationDate() {
		return applicationDate;
	}

	public void setApplicationDate(Date applicationDate) {
		this.applicationDate = applicationDate;
	}

	public Integer getProductType() {
		return productType;
	}

	public void setProductType(Integer productType) {
		this.productType = productType;
	}

	public Long getInventoryId() {
		return inventoryId;
	}

	public void setInventoryId(Long inventoryId) {
		this.inventoryId = inventoryId;
	}

	public String getBulkstockName() {
		return bulkstockName;
	}

	public void setBulkstockName(String bulkstockName) {
		this.bulkstockName = bulkstockName;
	}

	public String getWarehouseName() {
		return warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

	public String getInboundNumber() {
		return inboundNumber;
	}

	public void setInboundNumber(String inboundNumber) {
		this.inboundNumber = inboundNumber;
	}

	public BigDecimal getSupervisionQuantity() {
		return supervisionQuantity;
	}

	public void setSupervisionQuantity(BigDecimal supervisionQuantity) {
		this.supervisionQuantity = supervisionQuantity;
	}

	public BigDecimal getPickupQuantity() {
		if (null == pickupQuantity) {
			return BigDecimal.ZERO;
		}
		return pickupQuantity;
	}

	public void setPickupQuantity(BigDecimal pickupQuantity) {
		this.pickupQuantity = pickupQuantity;
	}

	public BigDecimal getPickupAmount() {
		if (pickupAmount == null) {
			return BigDecimal.ZERO;
		}
		return pickupAmount;
	}

	public void setPickupAmount(BigDecimal pickupAmount) {
		this.pickupAmount = pickupAmount;
	}

	public BigDecimal getBulkstockAmount() {
		return bulkstockAmount;
	}

	public void setBulkstockAmount(BigDecimal bulkstockAmount) {
		this.bulkstockAmount = bulkstockAmount;
	}

	public BigDecimal getInterest() {
		return interest;
	}

	public void setInterest(BigDecimal interest) {
		this.interest = interest;
	}

	public String getLocationArea() {
		return locationArea;
	}

	public void setLocationArea(String locationArea) {
		this.locationArea = locationArea;
	}

	public String getLocationName() {
		return locationName;
	}

	public void setLocationName(String locationName) {
		this.locationName = locationName;
	}
}
